﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MgSoft.K3Cloud.WebApi.Common.Dto.Gl
{
    /// <summary>
    /// 凭证查询Dto
    /// </summary>
    public class Gl_VoucherGetOutputDto<VoucherEntry_Type> where VoucherEntry_Type : Gl_VoucherGetOutputDto_Entry
    {
        public virtual int Id { get; set; }
        public virtual string BillNo { get; set; }
        /// <summary>
        /// 账簿Id
        /// </summary>
        public virtual int AccountBookID_Id { get; set; }
        /// <summary>
        /// 账簿
        /// </summary>
        //public virtual Accountbookid AccountBookID { get; set; }
        /// <summary>
        /// 日期
        /// </summary>
        public virtual DateTime Date { get; set; }
        /// <summary>
        /// 外币
        /// </summary>
        public virtual bool IsForeignCur { get; set; }
        /// <summary>
        /// 凭证字Id
        /// </summary>
        public virtual int VoucherGroupId_Id { get; set; }
        /// <summary>
        /// 凭证字
        /// </summary>
        //public virtual VOUCHERGROUPID VoucherGroupId { get; set; }
        /// <summary>
        /// 附件数
        /// </summary>
        public virtual int Attachments { get; set; }
        /// <summary>
        /// 会计年度
        /// </summary>
        public virtual int Year { get; set; }
        /// <summary>
        /// 期间
        /// </summary>
        public virtual int Period { get; set; }
        /// <summary>
        /// 借方总金额
        /// </summary>
        public virtual float DebitTotal { get; set; }
        /// <summary>
        /// 贷方总金额
        /// </summary>
        public virtual float FCreditTotal { get; set; }
        /// <summary>
        /// 作废状态
        /// </summary>
        public virtual string Invalid { get; set; }
        /// <summary>
        /// 审核人Id
        /// </summary>
        public virtual int CheckerId_Id { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        //public virtual CHECKERID CheckerId { get; set; }
        /// <summary>
        /// 过账人Id
        /// </summary>
        public virtual int PosterId_Id { get; set; }
        /// <summary>
        /// 过账人
        /// </summary>
        //public virtual POSTERID PosterId { get; set; }        
        /// <summary>
        /// 出纳Id
        /// </summary>
        public virtual int CashierId_Id { get; set; }
        /// <summary>
        /// 出纳
        /// </summary>
        public virtual object CashierId { get; set; }
        /// <summary>
        /// 审核日期
        /// </summary>
        public virtual DateTime AuditDate { get; set; }
        /// <summary>
        /// 审核状态
        /// </summary>
        public virtual string DocumentStatus { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public virtual int FCreatorId_Id { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        //public virtual Fcreatorid FCreatorId { get; set; }
        /// <summary>
        /// 创建日期
        /// </summary>
        public virtual DateTime FCreateDate { get; set; }
        /// <summary>
        /// 操作类型
        /// </summary>
        public virtual string FOperateType { get; set; }
        /// <summary>
        /// 是否调整期凭证
        /// </summary>
        public virtual bool IsAdjustVocher { get; set; }
        /// <summary>
        /// 出纳复核操作(辅助)
        /// </summary>
        public virtual bool CashierRecheck { get; set; }
        /// <summary>
        /// 取消复核操(作辅助)
        /// </summary>
        public virtual bool CancleRecheck { get; set; }
        /// <summary>
        /// 来源系统Id
        /// </summary>
        public virtual string FSystemID_Id { get; set; }
        /// <summary>
        /// 来源系统
        /// </summary>
        //public virtual Fsystemid FSystemID { get; set; }
        /// <summary>
        /// 业务类型Id
        /// </summary>
        public virtual string FSourceBillKey_Id { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        //public virtual Fsourcebillkey FSourceBillKey { get; set; }
        /// <summary>
        /// 本位币(辅助)Id
        /// </summary>
        public virtual int FBaseCurrencyId_Id { get; set; }
        /// <summary>
        /// 本位币(辅助)
        /// </summary>
        //public virtual FBASECURRENCYID FBaseCurrencyId { get; set; }
        /// <summary>
        /// 核算组织Id
        /// </summary>
        public virtual int AccBookOrgId_Id { get; set; }
        /// <summary>
        /// 核算组织
        /// </summary>
        //public virtual ACCBOOKORGID AccBookOrgId { get; set; }
        /// <summary>
        /// 已指定现金流量项目
        /// </summary>
        public virtual bool IsCashFlow { get; set; }
        /// <summary>
        /// 是否拆分
        /// </summary>
        public virtual int IsSplit { get; set; }
        /// <summary>
        /// 凭证号
        /// </summary>
        public virtual string VoucherGroupNo { get; set; }
        /// <summary>
        /// 数量金额核算
        /// </summary>
        public virtual bool IsQty { get; set; }
        /// <summary>
        /// 修改人Id
        /// </summary>
        public virtual int FModifierId_Id { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        //public virtual Fmodifierid FModifierId { get; set; }
        /// <summary>
        /// 修改日期
        /// </summary>
        public virtual DateTime FModifyDate { get; set; }
        /// <summary>
        /// 合计
        /// </summary>
        public virtual object FAmountDisplay { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public virtual int F_GL_PrintTimes { get; set; }
        /// <summary>
        /// 调整期间
        /// </summary>
        public virtual string ADJPRD { get; set; }
        /// <summary>
        /// 引入版本号
        /// </summary>
        public virtual string ImportVersion { get; set; }
        /// <summary>
        /// 转存信息-转入
        /// </summary>
        public virtual string DepositIn { get; set; }
        /// <summary>
        /// 转存信息-转出
        /// </summary>
        public virtual string DepositOut { get; set; }
        /// <summary>
        /// 业务日期
        /// </summary>
        public virtual DateTime BusDate { get; set; }
        /// <summary>
        /// 单据体
        /// </summary>
        public virtual List<VoucherEntry_Type> Gl_VoucherEntry { get; set; }
    }

    public class Gl_VoucherGetOutputDto : Gl_VoucherGetOutputDto<Gl_VoucherGetOutputDto_Entry>
    { 
    }
}
